package com.logic.landseaserver.common.util;
import java.util.Random;

/**
 * 随机数
 * @author junny
 *
 */
public class RandomUtil {
	public static int getRandom(final int min, final int max)
	{
	   Random rand= new Random();
	   int tmp = Math.abs(rand.nextInt());
       return tmp % (max - min + 1) + min;
	}
}
